/**
 * @file lv_watch_slider.h
 *
 */
#ifndef LV_WATCH_SLIDER_H
#define LV_WATCH_SLIDER_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_WATCH_SLIDER != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/
enum {
    SETTING_BRIGHTNESS = 0,
    SETTING_VOLUME,
    SETTING_CALL_SPEAKER,
    SETTING_VOIP_SPEAKER,
    SETTING_LCD_COLOR,
    SETTING_BT_VOLUME
};
typedef uint8_t setting_type_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/
lv_obj_t * slider_create(lv_obj_t * par, setting_type_t setting_type, lv_coord_t ver_offset,lv_event_cb_t slider_event_cb);
extern uint8_t setting_get_backlight_intensity(void);
extern uint8_t setting_get_ring_volume(void);

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_SLIDER*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*LV_WATCH_SLIDER_H*/
